package model

import (
	"time"
)

type CourseMenu struct {
	Id        int           `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	MenuName  string        `xorm:"" json:"menu_name" form:"menu_name" mapstructure:"menu_name"`
	ParentId  int           `xorm:"" json:"parent_id" form:"parent_id" mapstructure:"parent_id"`
	Acid      int           `xorm:"" json:"acid" form:"acid" mapstructure:"acid"`
	DeletedAt time.Time     `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
	Children  []*CourseMenu `xorm:"-" json:"children"`
}
